<template>
  <div class="h-full">
    <div>{{ t('message.hello') }}</div>
    <div>{{ t('vue') }}</div>
    <van-button type="primary" size="small" @click="toast">button</van-button>
  </div>
</template>
<script setup lang="ts">
import useHook from './useHook'

defineOptions({ name: 'Home' })

const { t } = useI18n()

const { visible } = useHook()

const toast = function () {
  showToast('Button clicked!')
}
</script>
<style scoped lang="less"></style>

